﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>收款核销</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">

    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    
    <link href="css/add-style.css" rel="stylesheet">
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="ibox-content">
            <span class="text-muted small pull-right"><a data-toggle="modal" href="charge_office.html#modal-remark" class="btn btn-danger btn-sm"><i class="fa fa-dollar"></i> 开发文档 </a></span>
            <h2>收款核销</h2>
            <hr />
            <table class="table table-hover">
                <tbody>
                    <tr>
                        <td style="width:13%;">
                            <strong>选择楼盘：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="rblStatus">
                                    <input id="rblStatus_0" type="radio" name="rblStatus" value="3" checked="checked" />
                                    <label for="rblStatus_0">富力双子座A座</label>
                                    <input id="rblStatus_1" type="radio" name="rblStatus" value="4" />
                                    <label for="rblStatus_1">富力双子座B座</label>
                                    <input id="rblStatus_1" type="radio" name="rblStatus" value="5" />
                                    <label for="rblStatus_1">富力中心</label>
                                    <input id="rblStatus_0" type="radio" name="rblStatus" value="0" />
                                    <label for="rblStatus_0">富力家园一期</label>
                                    <input id="rblStatus_1" type="radio" name="rblStatus" value="1" />
                                    <label for="rblStatus_1">富力家园二期</label>
                                    <input id="rblStatus_1" type="radio" name="rblStatus" value="2" />
                                    <label for="rblStatus_1">富力家园三期</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>费用类型：</td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="rblpaypaytype">
                                    <input id="rblType_0" type="radio" name="rblpaypaytype" value="0" checked="checked" />
                                    <label for="rblType_0">周期费用</label>
                                    <input id="rblType_1" type="radio" name="rblpaypaytype" value="1" />
                                    <label for="rblType_1">临时费用</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>房屋类型：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="rblType">
                                    <input id="rblType_0" type="radio" name="rblType" value="0" checked="checked" />
                                    <label for="rblType_0">住宅</label>
                                    <input id="rblType_1" type="radio" name="rblType" value="1" />
                                    <label for="rblType_1">商铺</label>
                                    <input id="rblType_2" type="radio" name="rblType" value="2" />
                                    <label for="rblType_2">办公</label>
                                    <input id="rblType_3" type="radio" name="rblType" value="3" />
                                    <label for="rblType_3">外协</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>选择楼栋：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="rblbuild1">
                                    <input id="rblStatus_0" type="radio" name="rblbuild1" value="0" checked="checked" />
                                    <label for="rblStatus_0">A座</label>
                                    <input id="rblStatus_1" type="radio" name="rblbuild1" value="1" />
                                    <label for="rblStatus_1">B座</label>
                                    <input id="rblStatus_2" type="radio" name="rblbuild1" value="2" />
                                    <label for="rblStatus_2">中心</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>选择楼层：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="cblFloor">
                                    <input id="cblActionType_0" type="radio" name="cblFloor" checked="checked" value="Show" />
                                    <label for="cblActionType_0">1层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">2层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">3层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">4层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">5层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">6层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">7层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">8层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">9层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">10层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">11层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">12层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">13层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">14层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">15层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">16层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">17层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">18层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">19层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">20层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">21层</label>
                                    <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                    <label for="cblActionType_1">22层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">23层</label>
                                    <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                    <label for="cblActionType_0">24层</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>选择房间：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="cblshouse">
                                    <input id="cblActionType_0" type="radio" name="cblshouse" checked="checked" value="Show" />
                                    <label for="cblActionType_0">0101-张亮</label>
                                    <input id="cblActionType_1" type="radio" name="cblshouse" value="View" />
                                    <label for="cblActionType_1">0102-黄百鸣</label>
                                    <input id="cblActionType_0" type="radio" name="cblshouse" value="Show" />
                                    <label for="cblActionType_0">0103-吴双级</label>
                                    <input id="cblActionType_0" type="radio" name="cblshouse" value="Show" />
                                    <label for="cblActionType_0">0105-李淘</label>
                                    <input id="cblActionType_0" type="radio" name="cblshouse" value="Show" />
                                    <label for="cblActionType_0">0106-何厚铧</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>公司名称：</strong>
                        </td>
                        <td>

                            <div class="input-group">
                                <input type="text" class="form-control" id="test_data">
                                <div class="input-group-btn">
                                    <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-menu-right" role="menu"></ul>
                                </div>
                                <!-- /btn-group -->
                            </div>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>核销状态：</strong>
                        </td>
                        <td>
                            <div class="rule-multi-radio">
                                <span id="rblbackType1">
                                    <input id="rblType_0" type="radio" name="rblbackType1" value="0"  />
                                    <label for="rblType_0">未入账</label>
                                    <input id="rblType_1" type="radio" name="rblbackType1" value="1" />
                                    <label for="rblType_1">已入账</label>
                                </span>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="table-responsive">
                <table class="table table-striped table-hover">
                    <thead>
                        <tr>
                            <th>核销状态</th>
                            <th>票据编号</th>
                            <th>收费项目</th>
                            <th>房间号</th>
                            <th>业主姓名</th>
                            <th>应收金额</th>
                            <th>实收金额</th>
                            <th>收款人</th>
                            <th>收款时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td class="project-status">
                                <span class="label label-danger">未入账
                            </td>
                            <td><a data-toggle="modal" href="workorder.html#modal-look">0470140 </a></td>
                            <td>物业费</td>
                            <td>Z-A01-01-101</td>
                            <td>张万福</td>
                            <td>1388.57</td>
                            <td>1388.57</td>
                            <td>张露露</td>
                            <td>2016-12-27</td>
                            <td>
                                <a data-toggle="modal" href="" class="demo3">入账 </a>
                            </td>
                        </tr>
                        <tr>
                            <td class="project-status">
                                <span class="label label-success">已入账
                            </td>
                            <td><a data-toggle="modal" href="charge_search.html#modal-look">0470140 </a></td>
                            <td>物业费</td>
                            <td>Z-A01-01-101</td>
                            <td>张万福</td>
                            <td>1388.57</td>
                            <td>1388.57</td>
                            <td>张露露</td>
                            <td>2016-12-27</td>
                            <td>
                                
                            </td>
                        </tr>
                        <tr>
                            <td class="project-status">
                                <span class="label label-danger">未入账
                            </td>
                            <td>0470141</td>
                            <td>门禁卡押金</td>
                            <td>Z-A01-01-101</td>
                            <td>张万福</td>
                            <td>33</td>
                            <td>33</td>
                            <td>张露露</td>
                            <td>2016-12-27</td>
                            <td>
                                <a data-toggle="modal" href="" class="demo3">入账 </a>
                            </td>
                        </tr>
                    </tbody>
                    <tfoot>
                        <tr>
                            <th>合计：</th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th>33</th>
                            <th>33</th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                    </tfoot>
                </table>
                <div class="text-right">

                    <ul class="pagination">
                        <li><a href="#">页数：1/10,总记录数：1000</a></li>
                        <li><a href="#">&laquo;</a></li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li><a href="#">&raquo;</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>


    <!--查看明细Start-->
    <div id="modal-look" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <span class="text-muted small pull-right">票据编号：0470140 收款时间：<i class="fa fa-clock-o"></i> 2015-09-01 12:00</span>
                    <h3>缴费明细</h3>
                    <hr />
                    <table class="table table-striped table-hover">
                        <thead>
                            <tr>
                                <th>序号</th>
                                <th>房间号</th>
                                <th>费用名称</th>
                                <th>账单月</th>
                                <th>开始时间</th>
                                <th>结束时间</th>
                                <th>收款金额</th>
                                <th>减免金额</th>
                                <th>支付方式</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>
                                    <a data-toggle="tab" href="#contact-1" class="client-link">A12-1101</a>
                                </td>
                                <td>物业费</td>
                                <td> 2016-01</td>
                                <td> 2016-01-08</td>
                                <td> 2016-02-07</td>
                                <td>1284</td>
                                <td>0</td>
                                <td>现金</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td>
                                    <a data-toggle="tab" href="#contact-1" class="client-link">A12-1101</a>
                                </td>
                                <td>物业费</td>
                                <td> 2016-02</td>
                                <td> 2016-01-08</td>
                                <td> 2016-02-07</td>
                                <td>1284</td>
                                <td>0</td>
                                <td>现金</td>
                            </tr>
                            <tr>
                                <td>3</td>
                                <td>
                                    <a data-toggle="tab" href="#contact-1" class="client-link">A12-1101</a>
                                </td>
                                <td>物业费</td>
                                <td> 2016-03</td>
                                <td> 2016-01-08</td>
                                <td> 2016-02-07</td>
                                <td>1284</td>
                                <td>0</td>
                                <td>现金</td>
                            </tr>

                        </tbody>
                        <tfoot>
                            <tr>
                                <th>合计</th>
                                <th></th>
                                <th></th>
                                <th></th>
                                <th></th>
                                <th></th>
                                <th>7954</th>
                                <th>0</th>
                                <th></th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!--查看明细End-->

    <!--收款打印Start-->
    <div id="modal-print" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <h3>缴费明细</h3>
                    <hr />
                    <div class="photos">
                        <img alt="image" style="width:100%;height:100%;" src="img/收款打印.png">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--收款打印End-->

    <!--开发提示文字Start-->
    <div id="modal-remark" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="well">
                        <h3>
                            前端开发事项：
                        </h3>
                        1、无
                    </div>
                    <div class="well well-lg">
                        <h3>
                            后台开发事项：
                        </h3>
                        1、审核状态为已审核的只显示打印按钮<br />
                        2、收费类型为周期收费时点击票据编号可以显示收费明细<br />
                        3、撤销：假删除收费记录，重置应收记录状态。<br />
                        4、已入账的收款只能“退款”，未入职的收款只能“撤销”
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--开发提示文字End-->

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script src="js/common.js"></script>
    
    
    <!--下拉公司搜索-->
    <script src="js/plugins/suggest/bootstrap-suggest.min.js"></script>
    <script type="text/javascript">
        //data 数据中获取
        var testdataBsSuggest = $("#test_data").bsSuggest({
            indexId: 2, //data.value 的第几个数据，作为input输入框的内容
            indexKey: 1, //data.value 的第几个数据，作为input输入框的内容
            data: {
                'value': [
                    {
                        'id': '0',
                        'word': '北京万商集团',
                        'description': 'NO.A201612230001'
                    },
                    {
                        'id': '1',
                        'word': '北京恒富科技',
                        'description': 'NO.A201612230002'
                    },
                    {
                        'id': '2',
                        'word': '深圳地铁（北京）分公司',
                        'description': 'NO.A201612230003'
                    },
                    {
                        'id': '3',
                        'word': '北京万商集团',
                        'description': 'NO.A201612230004'
                    }
                ],
                'defaults': ''
            }
        });
    </script>
    <!-- Bootstrap-Treeview plugin javascript -->
    <script src="js/plugins/treeview/bootstrap-treeview.js"></script>
    <script src="js/demo/treeview-projectdemo.min.js"></script>
    <!-- Data picker -->
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>       
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>
    <!-- layerDate plugin javascript -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script>
        var start = {
            elem: "#start",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                end.min = a;
                end.start = a
            }
        };
        var end = {
            elem: "#end",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                start.max = a
            }
        };
        laydate(start);
        laydate(end);
    </script>

    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        $(document).ready(function () {
            $(".demo3").click(function () {
                swal({
                    title: "您确定要入账这条信息吗",
                    text: "保存后将无法修改，请谨慎操作！",
                    type: "warning",
                    showCancelButton: true,
                    confirmButtonColor: "#DD6B55",
                    confirmButtonText: "是的，我要入账！",
                    cancelButtonText: "让我再考虑一下…",
                    closeOnConfirm: false,
                    closeOnCancel: false
                },
                function (a) {
                    if (a) {
                        swal("入职成功！", "您已经完成入职操作。", "success")
                    } else {
                        swal("已取消", "您取消了操作！", "error")
                    }
                })
            });              
            $(".demo4").click(function () {
                swal({
                    title: "您确定要保存这条信息吗",
                    text: "确认后将不允许再次修改，请谨慎！",
                    type: "warning",
                    showCancelButton: true,
                    confirmButtonColor: "#DD6B55",
                    confirmButtonText: "是的，我要保存！",
                    cancelButtonText: "让我再考虑一下…",
                    closeOnConfirm: false,
                    closeOnCancel: false
                },
                function (a) {
                    if (a) {
                        swal({
                            title: "保存成功",
                            text: "您已经完成了本次收费，确定后将为您跳转至收费查询界面！",
                            type: "success",
                            showCancelButton: false,
                            confirmButtonColor: "#DD6B55",
                            confirmButtonText: "确定",
                            closeOnConfirm: false,
                            closeOnCancel: false
                        },
                        function (a) {
                            if (a) {
                                swal("保存成功", "您完成了保存操作！", "success")
                            } else {
                                swal("已取消", "您取消了保存操作！", "error")
                            }
                        })
                    } else {
                        swal("已取消", "您取消了保存操作！", "error")
                    }
                })
            });
        });
    </script>

    <script>
        $(document).ready(function () {
            $("#data_5 .input-daterange").datepicker({
                keyboardNavigation: false,
                forceParse: false,
                autoclose: true
            });
            $("#data_4 .input-group.date").datepicker({ format: 'yyyy', startView: 2, minViewMode: 2, keyboardNavigation: false, forceParse: false, autoclose: true, todayHighlight: true });

        });
    </script>

    <script>
        $(document).ready(function () { $("#lightVersion").click(function (a) { a.preventDefault(); $("#ibox-content").removeClass("ibox-content"); $("#vertical-timeline").removeClass("dark-timeline"); $("#vertical-timeline").addClass("light-timeline") }); $("#darkVersion").click(function (a) { a.preventDefault(); $("#ibox-content").addClass("ibox-content"); $("#vertical-timeline").removeClass("light-timeline"); $("#vertical-timeline").addClass("dark-timeline") }); $("#leftVersion").click(function (a) { a.preventDefault(); $("#vertical-timeline").toggleClass("center-orientation") }) });
    </script>
    <!--统计代码，可删除-->
</body>
</html>
